BACK
MENU

Simulator


Alan Hope, 22 April 2021

An Anaesthesia Simulator

The simulation diagram and the resulting interface look simple but there's a lot going on under the hood. The entire kaboodle runs in your browser on a 1ms accurate high-resolution timer (derived from system audio routines).

The Rhythm Generator responds to vagal tone, sympathetic tone, serum K+, and hypoxia. Currently ventricular ectopics are chaotic and therefore non-propulsive. The ECG waveform is created from stacked and scaled gaussian curves which are very organic-looking.

The CVS currently has a simple 3-chamber circulation: "LV", "Arterial tree", "Venous tree". The LV is contractile, there is an aortic valve. Chambers have individual detailed properties including compliance curves. This generates realistic pressure waves with automatic and convincing Starling effects. The CVS structure is extensible so a complex CVS modeling the entire human circulation will come.

flowchart TD A[(Trained neural
network weights)] B[[Brain / CNS
Multiple ANNs]] C(Rhythm
generator
& cardiac
chambers) D(Peripheral
circulation) E[Monitor] F(Lungs) G(ECG
waveform) H(Pressure
waveforms) I(Respiratory
waveforms) A-->B B-->A B-->|Cardiovascular
centre|D B-->|Vagus / Symp|C C-->G G-->E D-->H F-->I H-->E I-->E B-->|Phrenic nerve|F subgraph CVS C G D H end subgraph Resp F I end